package com.h3c.ptability.entity;

import javax.persistence.*;
    import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;

/**
 * Copyright (C), 2020-2020, h3c
 * FileName: PtRoleApi
 *
 * @Author: l22886
 * @Date: 2022-03-14
 * Description: pt_role_api 实体
 * Version: 1.0
 */
@ApiModel(value="PtRoleApi对象", description="")
@Table(name = "pt_role_api")
public class PtRoleApi {


    @Column(name = "api_id")
    private String apiId;

    @Column(name = "role_id")
    private String roleId;

    public String getApiId() {
        return apiId;
    }

    public void setApiId(String apiId) {
        this.apiId = apiId;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    @Override
    public String toString() {
        return "PtRoleApi{" +
                "apiId=" + apiId +
                ", roleId=" + roleId +
                "}";
    }
}
